//
//  GoodCellPresenter.m
//  GRFMDownloader_Example
//
//  Created by Guo Rui on 2018/1/12.
//  Copyright © 2018年 GR. All rights reserved.
//

#import "GoodCellPresenter.h"

@interface GoodCellPresenter()
@property (nonatomic, strong) GroupBuyingBookModel *model;
@end

@implementation GoodCellPresenter


- (instancetype)initWithModel:(GroupBuyingBookModel *)model
{
    if (self = [super init]) {
        self.model = model;
//        [view updateAdImage:nil];
    
//        [view updatePayCount:0];
    }
    return self;
}

- (void)presentWithView:(UIView<GoodCellProtocol> *)view
{
    [view updateBookName:self.model.bookObj.title];
}

- (CGFloat)cellHeight{
    
    return 200;
}

- (void)payButtonDidClick
{
    
}

@end
